
import java.time.LocalDateTime

//groovyScript("Y:\\wiki\\script\\zuaa1.groovy", methodName(),methodParameterTypes(),methodParameters(),methodReturnType())


//def methodName= _1;
//def methodParameterTypes=_2;
//def methodParameters =_3;
//def methodReturnType = _4

def methodName= "_1";
//def methodParameterTypes=_2;
//def methodParameters =_3;
def methodReturnType = "_4"
def params=""


//for (int i = 0 ;i=methodParameterTypes.size();i++){
//    params=+params"     * @param  ${methodParameterTypes[i]}  ${delName( methodParameters[i])}"
//}
//
//


String re ="""    /**
     * ${methodName} ${methodName}是.
     *
${params}
     * @return ${methodReturnType} 返回的类型 
     * @author: xuping2
     * @date: ${LocalDateTime.now()}
     */"""
return re


def delName(String name ){
    if (name.contains("Id")){
        name.replace("Id","的Id")
    }
    return name
}